<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="//at.alicdn.com/t/c/font_4414341_k8p6v6lvlca.css">
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.6.4/dist/jquery.min.js"></script>
</head>
<style>
    * {
        margin: 0;
        padding: 0;
    }

    .banxin {
        width: 1100px;
        margin: 0 auto;
        border: 1px solid transparent;
    }

    .clear::after {
        content: '';
        display: block;
        clear: both;
    }

    .body{
        width: 100%;
        height: 99.8%;
    }

    .div1 {
        background-color: #f0f0f0;
        border-bottom: 1px solid #e3e3e3;
        width: 99.9%;
        height: 20%;
        border: 1px transparent solid;
    }

    .div2 {
        background-color: #e3e3e3;
        width: 99.9%;
        height: 80%;
    }

    .div3 {
        margin: 66px 0px 0px 335px;
    }

    .div3-1 {
        margin-top: 20px;
    }

    .div3-2 {
        margin-top: 66px;
        word-spacing: 50px;
    }

    .tips {
        font-size: 16px;
        color: #6c6c6c;
        margin: 60px 0px 0px 160px;
    }

    .inp1 {
        font-size: 12px;
        vertical-align: center;
        width: 240px;
        padding: 8px;
        border: 2px solid #ddd;
    }

    .inp2 {
        vertical-align: middle;
        color: white;
        border: 1px solid orange;
        background-color: orange;
        padding: 8px;
        width: 147px;
        cursor: pointer;
        transition: all 0.3s;
    }

    input{
        cursor: pointer;
    }

    span{
        cursor: default;
    }

    p{
        cursor: default;
    }

    .p1 {
        float: left;
        font-size: 70px;
        color: orange;
        font-family: '方正舒体';
        letter-spacing: 5px;
        font-weight: bold;
        line-height: 135px;
    }

    .p2 {
        float: left;
        font-size: 25px;
        color: #303030;
        font-weight: 500;
        line-height: 135px;
        margin-left: 15px;
    }

    .sp1 {
        font-size: 16px;
        color: #6c6c6c;
    }

    .sp2 {
        font-size: 16px;
        color: #6c6c6c;
        letter-spacing: 3px;
    }

    .sp3{
        color: #6c6c6c;
    }

    .u1 {
        float: right;
        line-height: 135px;
    }

    .u1 li {
        float: left;
        list-style: none;
        margin-right: 18px;
    }

    .u1 li a {
        text-decoration: none;
        color: grey;
        transition: all 0.5s;
    }

    .tips:before {
        content: "\e615";
        font-family: 'iconfont';
        font-size: 20px;
        color: royalblue;
        vertical-align: top;
    }

    .inp2:hover {
        color: black;
        background-color: darkorange;
        border: 1px solid red;
    }

    .u1 li a:hover {
        color: black;
    }
</style>

<body>
<div class="body">
    <div class="div1">
        <div class="banxin clear">
            <p class="p1">冬瓜网</p>
            <p class="p2">找回密码</p>
            <ul class="u1">
                <li><a href="${pageContext.request.contextPath}/toRegister">注册</a></li>
                <li><a href="${pageContext.request.contextPath}/toLogin">登录</a></li>
                <li><a href="${pageContext.request.contextPath}/toLogin">我的冬瓜</a></li>
            </ul>
        </div>
    </div>
    <div class="div2">
        <div class="banxin">
            <p class="tips">请输入你需要找回的账号和邮箱</p>
            <div class="div3">
                <form id="myForm" action="${pageContext.request.contextPath}/userinfo/updatePass" method="post">
                    <div class="div3-1">
                        <span class="sp1">请输入用户名：</span><input type="text" name="username" class="inp1" required>
                    </div>
                    <div class="div3-1">
                        <span class="sp2">请输入邮箱：</span><input type="text" name="email" class="inp1" required style="margin-left: -2px">
                    </div>
                    <div class="div3-1">
                        <span class="sp3">请输入新密码：</span><input type="text" name="password" class="inp1" required>
                    </div>
                    <div class="div3-2">
                        <input type="submit" value="确定" class="inp2">
                        <input type="reset" value="重置" class="inp2">
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>
